package com.bosssoft.ecds.service;

import com.bosssoft.ecds.common.response.QueryResponseResult;
import com.bosssoft.ecds.entity.dto.ReceiveFinanceapplyDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * @author 张东海
 * @date 2020/8/21
 * @description 远程调用财政端出库的服务
 */
@Service
@FeignClient("finan-stock-management")
public interface RemoteFinanceService {
    @PostMapping("/finan-bill/outBills")
    QueryResponseResult outBills(List<ReceiveFinanceapplyDto> receiveDtos);
}
